roundedrect: Mke sure shrinking borders works
authorBenjamin Otte <otte@redhat.com>
Thu, 2 May 2019 17:16:16 +0000 (19:16 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 2 May 2019 17:35:45 +0000 (19:35 +0200)
commit8915d6090040f23e3380d0f019884013ae64f12c
tree47052081fe7654f7f5fa482c73bc16217714306d
parented52c029a0fcd6ca1d57dcdc3fe6cbbd9cb03292
roundedrect: Mke sure shrinking borders works

Previously, when borders were too big - ie when a 100x100 rect had only
one 100x100 border, like the black part of ◔ - and then shrinking this
rect by 25px on either side, we'd end up with a 50x50 rect with a 75x75
border, and that's obviously not correct.
gsk/gskroundedrect.c